package practice02;

import java.util.Arrays;
import java.util.Random;

public class arrays {
    public static void main(String[] args) {
        int m=new Random().nextInt(17);
        System.out.println(m);
        int[] b=new int[16];
        for(int i=0;i<16;i++){
            b[i]=i+1;
        }
        System.out.println(Arrays.toString(b));
        for (int i=0;i<16;i++){
            int t;
            int j=new Random().nextInt(16);
            t=b[i];
            b[i]=b[j];
            b[j]=t;
        }
        System.out.println(Arrays.toString(b));
    }
}
